package com.itcast.flink.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lilulu
 * @date 2023-04-07 9:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderReport {

    private String userId;
    private String windowStart;
    private String windowEnd;
    private Double totalMoney;


    @Override
    public String toString() {
        return "[" + windowStart + " ~ " + windowEnd + "]: " + userId + " = " + totalMoney;
    }
}
